//package com.xb.system.service.impl;
//
//import com.alibaba.excel.EasyExcel;
//import com.alibaba.excel.ExcelReader;
//import com.alibaba.excel.cache.MapCache;
//import com.alibaba.excel.read.metadata.ReadSheet;
//import com.xb.model.sout.*;
//import com.xb.system.listener.*;
//import com.xb.system.service.*;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.stereotype.Service;
//
//import javax.annotation.Resource;
//import java.io.IOException;
//import java.io.InputStream;
//
//@Service
//public class IOExcelImpl implements IOExcel {
//
//
//    @Resource
//    private WxUserService wxUserService;
//
//
//    @Value("${path.output}")
//    private String outputFilePath;
//
//    @Value("${excel.headRowNumber:1}")
//    private int headRowNumber;
//
//    /**
//     * 手机转微信
//     * @param inputStream
//     * @param originalFilename
//     */
//    @Override
//    public void phoneToWxInputExcel(InputStream inputStream, String originalFilename) throws IOException, InterruptedException {
//        ExcelReader build = EasyExcel.read(inputStream, PhoneToWxModel.class, new PhoneToWxExcelDataListener(wxUserService, outputFilePath + originalFilename)).readCache(new MapCache()).headRowNumber(headRowNumber).build();
//        ReadSheet sheet1 = EasyExcel.readSheet("Sheet1").build();
//        build.read(sheet1);
//    }
//
//
//}